package com.kayt.cyberBar.cpublic.business.dao.impl;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.dao.EntityDao;
import com.kayt.cyberBar.cpublic.business.dao.IPublicUserSexDao;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicUserSex;

@Repository("publicUserSexDao")
public class PublicUserSexDaoImpl implements IPublicUserSexDao{

	@Autowired
	private EntityDao entityDao;
	@Override
	public PageData<CPublicUserSex> getUserSexList(LinkedHashMap<String, String> orderMap) throws SQLException {
		PageData<CPublicUserSex> salePageData = this.entityDao.getPagingData(CPublicUserSex.class, -1, -1, null, null, orderMap);
		return salePageData;
	}

}
